package com.jeequan.jeepay.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeequan.jeepay.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

 /**
 * 回u订单表;
 * @author : wondream322@gmail.com
 * @date : 2023-8-19
 */
@ApiModel(value = "回u订单表",description = "")
@TableName("payment_usdt_order")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PaymentUsdtOrder extends BaseModel implements Serializable,Cloneable{
    
     //gw
     public static final LambdaQueryWrapper<PayMemberDO> gw(){
         return new LambdaQueryWrapper<>();
     }
     
    /** 主键 */
    @ApiModelProperty(value = "主键",name = "主键",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id ;
    /** 回U金额 */
    @ApiModelProperty(value = "回U金额",name = "回U金额",notes = "")
    private BigDecimal amount ;
    /** 用户id */
    @ApiModelProperty(value = "用户id",name = "用户id",notes = "")
    private Integer memberId ;
    /** usdt地址 */
    @ApiModelProperty(value = "usdt地址",name = "usdt地址",notes = "")
    private String usdtAddress ;
    /** 备注 */
    @ApiModelProperty(value = "备注",name = "备注",notes = "")
    private String remark ;
    /** 订单状态: 0-未支付 1-处理中 2-已回U 3-已驳回 */
    @ApiModelProperty(value = "订单状态: 0-未支付 1-处理中 2-已回U 3-已驳回",name = "订单状态: 0-未支付 1-处理中 2-已回U 3-已驳回",notes = "")
    private Integer state ;
    /** 创建时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "创建时间",name = "创建时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "更新时间",name = "更新时间",notes = "")
    private Date updateTime ;

}